package com.bjpowernode.dataservice.mapper;

import com.bjpowernode.api.model.Income;

import java.util.List;

public interface IncomeMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Income record);

    int insertSelective(Income record);

    Income selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Income record);

    int updateByPrimaryKey(Income record);

    /**
     * 获取昨天为期到时间的收益记录
     * @return
     */
    List<Income> selectExpireIncomeList();

}